package com.carrent.bus.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 页面跳转器
 *
 */
@Api(tags = "租车跳转控制器")
@Controller
@RequestMapping(value = "bus")
public class BusController {
    /**
     * 跳转汽车出租管理页面
     */
    @RequestMapping("toCarRentManager")
    @ApiOperation("跳转汽车出租管理页面")
    public String toMenueManager(){
        return "business/rent/carRentManager";
    }
    /**
     * 跳转出租单管理页面
     */
    @RequestMapping(value = "toRentOrderManager")
    @ApiOperation("跳转出租单管理页面")
    public String toRentOrderManager(){
        return "business/rent/RentOrderManager";
    }

    /**
     * 跳转汽车入库页面
     */
    @RequestMapping(value = "toCarStorage")
    @ApiOperation("跳转汽车入库页面")
    public String toCarStorage(){
        return "business/rent/CarStorage";
    }

    /**
     * 跳转检查单页面
     */
    @RequestMapping(value = "toCheckManager")
    @ApiOperation("跳转检查单页面")
    public String toCheckManager(){
        return "business/rent/CheckManager";
    }

    /**
     * 跳转客户管理页面
     */
    @RequestMapping(value = "toCustomerManager")
    @ApiOperation("跳转客户管理页面")
    public String toCustomerManager(){
        return "business/customer/customerManager";
    }


    /**
     * 跳转车辆管理页面
     */
    @RequestMapping(value = "toCarManager")
    @ApiOperation("跳转车辆管理页面")
    public String toCarManager(){
        return "business/car/carManager";
    }
}
